import Layout from '@/layout'
export default {
  path: '/employee',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employee',
      component: () => import('@/views/employee/index'),
      meta: { title: '人工', icon: 'peoples' }
    }, {
      path: 'detail/:id?',
      name: 'employee1',
      /* 这是不在侧边栏显示的属性 */
      hidden: true,
      component: () => import('@/views/employee/Detail'),
      meta: { title: '人工', icon: 'peoples' }
    }
  ]
}

